<ol class="breadcrumb">
  <li><a href="#">个人信息</a></li>
  <li class="active">查看</li>
</ol>
<!-- <ul class="nav nav-pills">

  <li role="presentation" class="active"><a href="javascript:void(0)">公司信息</a></li>
</ul> -->
<hr>

<div class="form-horizontal">
  <div class="form-group">
    <label class='col-sm-2 control-label'>登录名:</label>
    <div class="col-sm-3">
      <span class='form-control'> <%= @staff.login_name %></span>
    </div>
  </div>

  <div class="form-group">
    <label class='col-sm-2 control-label'>姓名:</label>
    <div class="col-sm-3">
      <span class='form-control'> <%= @staff.full_name %></span>
    </div>
  </div>

  <div class="form-group">
    <label class='col-sm-2 control-label'>手机号:</label>
    <div class="col-sm-3">
      <span class='form-control'> <%= @staff.phone_number %></span>
    </div>
  </div>

  <div class="form-group">
    <label class='col-sm-2 control-label'>地址:</label>
    <div class="col-sm-3">
      <span class='form-control'> <%= @staff.address %></span>
    </div>
  </div>

  <div class="form-group">
    <label class='col-sm-2 control-label'></label>
    <div class="col-sm-10">
      <%= link_to '修改', edit_profile_path, class: "btn btn-default btn-primary btn", role: "button" %>
    </div>
  </div>

</div>



<%= content_for :pre_assets do %>
  <script type="text/javascript">
    $(function(){
      $(".form-control").css("border", "none")
    })
  </script>
<% end %>
